package com.eastcode.mobile.server.util;

import com.eastcode.dictionary.service.DictionaryService;
import com.eastcode.dictionary.service.impl.DictionaryServiceImpl;
import com.eastcode.mobile.client.service.ReceiveService;
import com.eastcode.mobile.client.service.impl.ReceiveServiceImpl;
import com.eastcode.mobile.server.main.service.MainService;
import com.eastcode.mobile.server.main.service.impl.MainServiceImpl;
import com.eastcode.mobile.server.system.service.MenuService;
import com.eastcode.mobile.server.system.service.StationRuleService;
import com.eastcode.mobile.server.system.service.StationService;
import com.eastcode.mobile.server.system.service.UserService;
import com.eastcode.mobile.server.system.service.UserStationService;
import com.eastcode.mobile.server.system.service.impl.MenuServiceImpl;
import com.eastcode.mobile.server.system.service.impl.StationRuleServiceImpl;
import com.eastcode.mobile.server.system.service.impl.StationServiceImpl;
import com.eastcode.mobile.server.system.service.impl.UserServiceImpl;
import com.eastcode.mobile.server.system.service.impl.UserStationServiceImpl;
import com.eastcode.mobile.server.user.service.CallLogService;
import com.eastcode.mobile.server.user.service.ContactService;
import com.eastcode.mobile.server.user.service.LocationService;
import com.eastcode.mobile.server.user.service.SmsService;
import com.eastcode.mobile.server.user.service.impl.CallLogServiceImpl;
import com.eastcode.mobile.server.user.service.impl.ContactServiceImpl;
import com.eastcode.mobile.server.user.service.impl.LocationServiceImpl;
import com.eastcode.mobile.server.user.service.impl.SmsServiceImpl;

public class ServerLocator {

	private static DictionaryService dictionaryService = new DictionaryServiceImpl();
	private static UserService userService = new UserServiceImpl();
	private static MenuService menuService = new MenuServiceImpl();
	private static StationService stationService = new StationServiceImpl();
	private static StationRuleService stationRuleService = new StationRuleServiceImpl();
	private static UserStationService userStationService = new UserStationServiceImpl();

	private static MainService mainService = new MainServiceImpl();
	private static ReceiveService receiveService = new ReceiveServiceImpl();

	private static CallLogService callLogService = new CallLogServiceImpl();
	private static ContactService contactService = new ContactServiceImpl();
	private static LocationService locationService = new LocationServiceImpl();
	private static SmsService smsService = new SmsServiceImpl();

	public static DictionaryService getDictionaryService() {
		return dictionaryService;
	}

	public static UserService getUserService() {
		return userService;
	}

	public static MenuService getMenuService() {
		return menuService;
	}

	public static StationService getStationService() {
		return stationService;
	}

	public static StationRuleService getStationRuleService() {
		return stationRuleService;
	}

	public static UserStationService getUserStationService() {
		return userStationService;
	}

	public static MainService getMainService() {
		return mainService;
	}

	public static ReceiveService getReceiveService() {
		return receiveService;
	}

	public static SmsService getSmsService() {
		return smsService;
	}

	public static CallLogService getCallLogService() {
		return callLogService;
	}

	public static ContactService getContactService() {
		return contactService;
	}

	public static LocationService getLocationService() {
		return locationService;
	}

}
